import Layout from '@/views/layout/Layout'

export default {
  path: '/unionManage',
  component: Layout,
  alwaysShow: true,
  name: 'unionManage',
  redirect: 'noredirect',
  meta: {
    title: '公会管理',
    icon: 'component',
    resources: 'unionManage'
  },
  children: [
    {
      path: 'union',
      component: () => import('@/views/union-manage/union'),
      name: 'union',
      meta: {title: '公会列表', icon: 'my-sysmenu', noCache: true, resources: 'union'}
    },
    {
      path: 'sociatyDirect',
      component: () => import('@/views/union-manage/sociatyDirect'),
      name: 'sociatyDirect',
      meta: {title: '直属厅列表', icon: 'my-sysmenu', noCache: true, resources: 'sociatyDirect'}
    },
    {
      path: 'sociatyIndirect',
      component: () => import('@/views/union-manage/sociatyIndirect'),
      name: 'sociatyIndirect',
      meta: {title: '挂靠厅列表', icon: 'my-sysmenu', noCache: true, resources: 'sociatyIndirect'}
    },
    {
      path: 'joinlistIndirect',
      component: () => import('@/views/union-manage/joinlistIndirect'),
      name: 'joinlistIndirect',
      meta: {title: '加入申请', icon: 'my-sysmenu', noCache: true, resources: 'joinlistIndirect'}
    },
    {
      path: 'outlistIndirect',
      component: () => import('@/views/union-manage/outlistIndirect'),
      name: 'outlistIndirect',
      meta: {title: '退出申请', icon: 'my-sysmenu', noCache: true, resources: 'outlistIndirect'}
    },
    {
      path: 'directUser',
      component: () => import('@/views/union-manage/directUser'),
      name: 'directUser',
      meta: {title: '直属厅用户', icon: 'my-sysmenu', noCache: true, resources: 'directUser'}
    },
    {
      path: 'indirectUser',
      component: () => import('@/views/union-manage/indirectUser'),
      name: 'indirectUser',
      meta: {title: '挂靠厅用户', icon: 'my-sysmenu', noCache: true, resources: 'indirectUser'}
    },
    {
      path: 'joinlistUser',
      component: () => import('@/views/union-manage/joinlistUser'),
      name: 'joinlistUser',
      meta: {title: '用户加入申请', icon: 'my-sysmenu', noCache: true, resources: 'joinlistUser'}
    },
    {
      path: 'outlistUser',
      component: () => import('@/views/union-manage/outlistUser'),
      name: 'outlistUser',
      meta: {title: '用户退出申请', icon: 'my-sysmenu', noCache: true, resources: 'outlistUser'}
    }
  ]
}
